package main.java.pers.seg.model.model;

import java.io.Serializable;
import java.util.List;


import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
/**
 * Created by 金珉志
 * 2018/3/6.
 */
public class Activity implements Serializable {

    private static final long serialVersionUID = -8426599212557222780L;

    List<View> viewList;

    String name;

    //@XmlAttribute(name="viewList")
    public List<View> getViewList() {
        return viewList;
    }

    public void setViewList(List<View> viewList) {
        this.viewList = viewList;
    }

    //@XmlAttribute(name="name")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Activity(List<View> viewList, String name) {
        this.viewList = viewList;
        this.name = name;
    }

    public Activity() {
    }
}
